package com.ym.pms.dao;

import com.ym.pms.model.Building;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;
@Mapper
public interface BuildingMapper {
    int deleteByPrimaryKey(String buCoding);

    int insert(Building record);

    int insertSelective(Building record);

    Building selectByPrimaryKey(String buCoding);

    int updateByPrimaryKeySelective(Building record);

    int updateByPrimaryKey(Building record);

    List<Building> queryBuildingList();

    Integer getBuildingMaxNo();

    List<Building> selectOfDisplay();

    List<Building> fuzzyQuery(Building record);

    Building getSuBu(String buCoding);

    void deleteAllByItId(String id);

    List<String> getAllCoding(String id);

    Date getSDate(String suBucoding);

    Date getEDate(String suBucoding);
}